<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" layout:decorator="layout/default">
<head>
    <meta charset="UTF-8">
</head>
<section layout:fragment="content">
    <div class="layui-fluid">
        <div class="layui-collapse" lay-accordion>
            <div class="layui-colla-item">
                <h2 class="layui-colla-title search-colla-title"><i
                        class="icon iconfont icon-circle"></i><span>查询条件</span></h2>
                <div class="layui-colla-content layui-show">
                    <form id="searchUserForm" class="layui-form" action="" autocomplete="off">
                        <input type="hidden" class="layui-input eyc-uppercase" name="userType" th:value="${userType}">
                        <div class="layui-row layui-col-space30">
                            <div class="layui-col-sm3">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">用户ID</label>
                                    <input class="layui-input eyc-uppercase" name="userId" type="text">
                                </div>
                            </div>
                            <div class="layui-col-sm3">
                                <div class="layui-row layui-col-space15">
                                    <div class="layui-col-sm6">
                                        <label class="layui-form-label">下单日期从</label>
                                        <input type="text" class="layui-input">
                                    </div>
                                    <div class="layui-col-sm6">
                                        <label class="layui-form-label">到</label>
                                        <input type="text" class="layui-input">
                                    </div>
                                </div>

                            </div>
                            <div class="layui-col-sm3">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">客户</label>
                                    <input class="layui-input eyc-uppercase" name="csoNum" type="text">
                                </div>
                            </div>
                            <div class="layui-col-sm3">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">&nbsp;</label>
                                    <div class="layui-row">
                                        <button type="button" data-method="search"
                                                class="layui-btn layui-btn-sm layui-btn-primary layui-border-green">
                                            <i class="icon iconfont icon-search"></i>查询
                                        </button>
                                        <button type="button" data-method="reset"
                                                class="layui-btn layui-btn-sm layui-btn-primary layui-border-blue">
                                            <i class="icon iconfont icon-reset"></i><span>重置</span>
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>

        <div class="layui-row">
            <div class="layui-form-item eyc-margin-top15">
                <label class="layui-colla-title"><i class="icon iconfont icon-circle"></i><span>客户列表</span></label>
            </div>
            <div id="userList"></div>
        </div>
    </div>
    <script th:inline="javascript">
        var userType =/*[[${userType}]]*/ 'OUTER_USER';
    </script>
    <script th:src="@{/layui/layui.js}"></script>
    
</section>
</html>